//
//  ViewController.swift
//  简易HUD
//
//  Created by emma on 2024/4/17.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        
        view.showHUD()
        DispatchQueue.main.asyncAfter(deadline: .now()+5) {
            self.view.hideHUD()
            
            self.view.showToast("jfsjfiefnlsfneojfewiohflsjfdslfjlksjljfosejfljfosfnelfjoejfldsfjoejflsjflsdjflsdjflsdjfldjslfjkldfjlkdsjfldsjfuuuurjjjfjf", duration: 5)
        }
    }


}

